home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / program / snpd9611.zip / SNIPMATH.H < prev    next >
Text File  |  1996-11-24  |  492b  |  16 lines

  1. .I 0 3
  2. /* +++Date last modified: 03-Nov-1996 */
  3.  
  4. /*
  5. .D 1 1
  6. .I 34 1
  7. double  fibo(unsigned short term);                    /* Fibo.C         */
  8. .I 41 2
  9. int     round_div(int n, int d);                      /* Rnd_Div.C      */
  10. long    round_ldiv(long n, long d);                   /* Rnd_Div.C      */
  11. .I 45 4
  12. #ifndef PHI
  13.  #define PHI      ((1.0+sqrt(5.0))/2.0)         /* the golden number    */
  14.  #define INV_PHI  (1.0/PHI)                     /* the golden ratio     */
  15. #endif
  16.